package com.vhall.component.framework.oss.client;

import com.vhall.component.framework.oss.properties.OssProperties;

/**
 * @author yongzheng.xu
 * @date 2021/5/22 20:37
 */
public interface OssClientFactory {

    /**
     * 根据云类型, 获取对象
     *
     * @param type aliyun|qcloud
     * @return
     */
    OssClient getClient(String type);

    /**
     * 创建短信 Client
     *
     * @param properties 配置对象
     */
    void createOrUpdateClient(OssProperties properties);
}
